// This is an open source non-commercial project. Dear PVS-Studio, please check it.
// PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com

// ReSharper disable CheckNamespace
// ReSharper disable CommentTypo
// ReSharper disable IdentifierTypo
// ReSharper disable InconsistentNaming
// ReSharper disable StringLiteralTypo
// ReSharper disable UnusedMember.Global
// ReSharper disable UseNameofExpression

/*
 * Ars Magna project, http://arsmagna.ru
 */

namespace HtmlAgilityPack;

/// <summary>
/// Represents the type of parsing error.
/// </summary>
public enum HtmlParseErrorCode
{
    /// <summary>
    /// A tag was not closed.
    /// </summary>
    TagNotClosed,

    /// <summary>
    /// A tag was not opened.
    /// </summary>
    TagNotOpened,

    /// <summary>
    /// There is a charset mismatch between stream and declared (META) encoding.
    /// </summary>
    CharsetMismatch,

    /// <summary>
    /// An end tag was not required.
    /// </summary>
    EndTagNotRequired,

    /// <summary>
    /// An end tag is invalid at this position.
    /// </summary>
    EndTagInvalidHere
}
